Skip to content

feat: add GitHub Copilot CLI provider support - #70

Open
chrillep wants to merge 2 commits into
MiniCodeMonkey:mainfrom
chrillep:chrillep-add-copilot-cli-support
Open

chrillep wants to merge 2 commits into
MiniCodeMonkey:mainfrom
chrillep:chrillep-add-copilot-cli-support

Conversation

@chrillep

@chrillep chrillep commented Jul 31, 2026 •

Copy link
Copy Markdown

Summary

  • add a new copilot agent provider for Chief
  • parse Copilot CLI JSONL assistant/tool events in the loop
  • wire provider resolution for copilot and copilot-cli
  • document setup, configuration, logs, and usage for Copilot CLI

References

Christian Widlund and others added 2 commits September 27, 2026 21:49
- add Copilot provider with headless command mode and output cleanup\n- parse Copilot JSONL assistant and tool events in the loop\n- wire provider resolution for copilot and copilot-cli\n- expand docs and CLI help to include Copilot setup and usage\n\nRefs MiniCodeMonkey#57\nhttps://github.com/features/copilot/cli\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
main.go was replaced by cmd/chief/commands/root.go in a prior refactor,
so the copilot addition to the --agent flag's help text needs to land
in the Cobra flag definition instead.

Claude-Session: https://claude.ai/code/session_01Fxi8Py1Weyua51Y1RBt2NP
@MiniCodeMonkey
MiniCodeMonkey force-pushed the chrillep-add-copilot-cli-support branch from e428ab4 to d1bc256 Compare September 28, 2026 05:05
@MiniCodeMonkey

Copy link
Copy Markdown
Owner

Thanks for adding Copilot, and sorry for the wait. Main moved CLI routing into Cobra commands, so I rebased and moved your --agent help text into cmd/chief/commands/root.go, then pushed that to your branch. I checked the flags and event names against Copilot CLI 1.0.88 and they match. I haven't run it end to end with a signed-in Copilot yet. If you can confirm it still works on the rebased branch, I'll merge it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants